package cn.unknowpupil.init.service.system;

import org.springframework.web.multipart.MultipartFile;

/**
 * Created at 2020/11/5 by w10g <br>
 * Initialize ICommonService ... <br>
 *  公共接口
 * @author unknowpupil
 * @since 0.0.1
 */
public interface ICommonService {
    /**
     * 上传头像
     * @param avatarFile
     * @return
     */
    String uploadAvatar(MultipartFile avatarFile);

    /**
     * 上传文件
     * @param file
     * @return
     */
    public String uploadFile(MultipartFile file);
}
